package com.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.model.Commodity;


public interface CommodityService {
	
	List<Commodity> selectByCommodityName(String cname);
	
	 List<Commodity> selectAll();
	 
	 int insertSelective(Commodity record);
	 
	 int deleteByPrimaryKey(Integer cId);
	 
	 int updateByPrimaryKeySelective(Commodity record);
 
}
